/**
 * @author zhounan 
 * @date 2024年6月13日
 * @version V1.0
 */
package org.zn.etl.job.context;

import java.util.List;
import java.util.Map;

import javax.sql.DataSource;

import org.apache.commons.lang3.tuple.Pair;
import org.zn.datax.common.entity.ColumnInfo;
import org.zn.etl.job.handler.WriteAgent;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zhounan
 * @date 2024年6月13日
 * @version V1.0
 */
@Getter
@Setter
@Builder
public class LoaderContext {

	private String parallelCode;

	private	String sourceSql;
	private	Map<String, Object> context;

	private JobExecInstanceContext jobIns;
	
	private	DataSource sSource;
	private	DataSource tSource;
	private	String tagTableName;
	private	List<Pair<ColumnInfo, ColumnInfo>> columnMappingPairs;
	private	WriteAgent writeAgent;

	private Long startOffSet;
	private Long endOffSet;
	
}
